<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta http-equiv="content-language" content="en-EN" />
    <meta name="robots" content="noindex, nofollow" />
    
    <title>JEELIZ FACEFILTER: CSS3D COMEDY GLASSES DEMO</title>
    
    <!-- INCLUDE JEELIZ FACEFILTER SCRIPT -->
    <script src="../../../dist/jeelizFaceFilter.js"></script>

    <!-- INCLUDE MATH PART OF THREE.JS -->
    <script src="../../../libs/three/matrix/THREEMatrix.js"></script>

    <!-- INCLUDE DEMO SCRIPT -->
    <script src="./main.js"></script>

    <!-- INCLUDE FORK ME ON GITHUB BANNER -->
    <script src="../../appearance/widget.js"></script>

    <link rel="stylesheet" href="../../appearance/style.css" type="text/css" />

    <style type='text/css'>
    #jeelizFaceFilterFollow {
      display: block;
      position: absolute; z-index: 1000;
      background-image: url('comedy-glasses.png');
      background-size: cover;
      height: 200px; width: 200px;
    }
    .mouthOpened {
      
    }
    .mouthClosed {
      
    }
    #jeeFaceFilterCanvas {
      /* YOU SHOULD KEEP the transform: translateZ(-4000px) and the transform-style: preserve-3d;
      OTHERWISE THE DIV WILL BE BEHIND THE CANVAS WITH IOS
      */
       transform: translateZ(-4000px) translate(-50%, -50%) rotateY(180deg);
       transform-style: preserve-3d;
    }
    </style>

  </head>
  
  <body>
    <canvas width="1024" height="1024" id='jeeFaceFilterCanvas'></canvas>

    <div id='jeelizFaceFilterFollow'>
    </div>
  </body>
</html>
 
 
